package com.feeyo.prophet.pojo.dto;

import com.alibaba.fastjson.JSONObject;

import java.io.Serial;
import java.io.Serializable;

public class ActionDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private String name;

    private JSONObject params;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public JSONObject getParams() {
        return params;
    }

    public void setParams(JSONObject params) {
        this.params = params;
    }

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
